<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8"/>
	<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
	<meta name="misapplication-tap-highlight" content="no"/>
	<meta name="HandheldFriendly" content="true"/>
	<meta name="MobileOptimized" content="320"/>
	<title>医护e家</title>
	<link href="../public/css/weui.min.css" rel="stylesheet" type="text/css" />
	<link href="../public/css/jquery-weui.css" rel="stylesheet" type="text/css" />
	<link href="../public/css/base.css" rel="stylesheet" type="text/css" />
	<link href="../public/css/app/detail/make_list.css" rel="stylesheet" type="text/css" />
</head>
<body>
<!-- header -->
<div class="header">
	<div class="l-icon icon">
		<a href="javascript:history.back(-1);" class="black"></a>
	</div>
	<div class="title">预约详情</div>

</div>

<!-- main -->
<div class="main" id="list_data_content">
	<script id="list_data" type="text/html">
		<div class="make">
			<div class="tabBar">
				<div class="content">
					<ul class="title">专家号</ul>
					<ul class="list list_z">
					   <% for (var i = 0; i < temp_z.length; i ++) { %>
						  <li class="<%= i==0?'on':'' %>"><%= temp_z[i].doctor %></li>
						<% }%>  
					</ul>
				</div>
				<div class="content">
					<ul class="title">普通号</ul>
					<ul class="list list_p">
					   <% for (var i = 0; i < temp_p.length; i ++) { %>
						 <li><%= temp_p[i].doctor %></li>
						<% }%> 
					</ul>
				</div>
			</div>
			<% for (var i = 0; i < temp_z.length; i ++) { %>
			    <div class="tabList temp_z" style="display:none">
					<div class="content">
						<ul class="m1">
							<li class="icon">
								<img src="<%= temp_z[i].marktype?temp_z[i].marktype:'../public/images/admin.jpg' %>" />
							</li>
							<li class="info">
								<p><%= temp_z[i].doctor %></p>
								<p class="tips"><%= temp_z[i].title %></p>
							</li>
							<li class="collect"></li>
						</ul>
						<div class="m2">
							<div class="title">擅长领域</div>
							<div class="info">
								<%= temp_z[i].specialty %>
							</div>
						</div>
						<div class="m2">
							<div class="title">亚专科</div>
							<div class="info">
								<%= temp_z[i].remark %>
							</div>
						</div>
						<div class="m3">
							<div class="title">出诊时间</div>
							<div class="list">
									<% for (var j = 0; j < temp_z[i].appmarkmodList.length; j ++) { %>
										<ul class="item">
											<li class="time"><%= temp_z[i].appmarkmodList[j].day %> 
												<% if(temp_z[i].appmarkmodList[j].reghalf=='1'){ %> 
												  上午 	
												<% } %><% else if(temp_z[i].appmarkmodList[j].reghalf=='2'){ %> 
												  下午 	
												<% } %><% else if(temp_z[i].appmarkmodList[j].reghalf=='3'){ %> 
												  晚上	
												<% } %><% else{ %> 
												  全天
												<% } %>
											</li>
											<li class="btn <%= temp_z[i].appmarkmodList[j].count>0?'':'on' %>" data-name="on"><%= temp_z[i].appmarkmodList[j].count>0?temp_z[i].appmarkmodList[j].count:'已过期' %></li>
										</ul>
									<% }%>    
							</div>
						</div>
						<div class="m2">
							<div class="title">医生简介</div>
							<div class="info">
									<%= temp_z[i].extparam1 %>
							</div>
						</div>
					</div>	
			    </div>
			<% }%>
			<% for (var i = 0; i < temp_p.length; i ++) { %>
			    <div class="tabList temp_p" style="display:none">
					<div class="content">
						<ul class="m1">
							<li class="icon">
								<img src="<%= temp_p[i].marktype?temp_p[i].marktype:'../public/images/admin.jpg' %>" />
							</li>
							<li class="info">
								<p><%= temp_p[i].doctor %></p>
								<p class="tips"><%= temp_p[i].title %></p>
							</li>
							<li class="collect"></li>
						</ul>
						<div class="m2">
							<div class="title">擅长领域</div>
							<div class="info">
								肺癌、食管癌、愤门癌的手术及综合治疗，胸控镜微创手术治疗气胸、肺大泡、肺良性肿瘤、纵膈良性肿瘤、食管良性肿瘤，早期肺癌、食管癌、手汗症等
							</div>
						</div>
						<div class="m2">
							<div class="title">亚专科</div>
							<div class="info">
								无
							</div>
						</div>
						<div class="m3">
							<div class="title">出诊时间</div>
							<div class="list">
									<% for (var j = 0; j < temp_p[i].appmarkmodList.length; j ++) { %>
										<ul class="item">
											<li class="time"><%= temp_p[i].appmarkmodList[j].day %> 
												<% if(temp_p[i].appmarkmodList[j].reghalf=='1'){ %> 
												  上午 	
												<% } %><% else if(temp_p[i].appmarkmodList[j].reghalf=='2'){ %> 
												  下午 	
												<% } %><% else if(temp_p[i].appmarkmodList[j].reghalf=='3'){ %> 
												  晚上	
												<% } %><% else{ %> 
												  全天
												<% } %>
											</li>
											<li class="btn <%= temp_p[i].appmarkmodList[j].count>0?'':'on' %>" data-name="on"><%= temp_p[i].appmarkmodList[j].count>0?temp_p[i].appmarkmodList[j].count:'已过期' %></li>
										</ul>
									<% }%>    
								
							</div>
						</div>
						<div class="m2">
							<div class="title">医生简介</div>
							<div class="info">
								个人简历：梁正，男，副主任医师，57岁，1983年大学本科毕业。88-90年在协和医科大学进修学习胸外科，92年-至今在北京第三医院胸外科工作。
							</div>
						</div>
					</div>	
			    </div>
		    <% }%> 	
		</div>
	</script>	
</div>




<!-- jquery引入 -->
<script type="text/javascript" src="../public/js/jquery/jquery-2.1.4.js"></script>
<!-- weui -->
<script type="text/javascript" src="../public/js/jquery/jquery-weui.js"></script>
<script type="text/javascript" src="../public/js/jquery/template.js"></script>
<script type="text/javascript" src="../public/js/common.js"></script>
<script type="text/javascript" src="../public/js/data/detail/make_list.js"></script>
</body>
	
</html>